from django.shortcuts import render_to_response
from django.contrib import messages

def index(request):
	messages_ = messages.get_messages(request)
	return render_to_response('index.html', {
		'messages': messages_,
	})
